package org.jeecg.modules.room.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.modules.room.entity.RoomInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.room.vo.RoomCheckVo;

import java.util.HashMap;
import java.util.List;

/**
 * @Description: 房间信息
 * @Author: jeecg-boot
 * @Date:   2023-12-01
 * @Version: V1.0
 */
public interface IRoomInfoService extends IService<RoomInfo> {

    public void saveInfo(RoomInfo roomInfo);

    //查询可用房间
    public IPage<RoomInfo> selectUsableRoomList(IPage<RoomInfo> page,String roomTypeCode, String roomCode, String roomLevelCode, String isSelfUse, String roomDesc, String dateArrival, String dateDeparture);

    //查询可用房间数
    public Integer selectUsableRoomNum(String roomTypeCode,String dateArrival,String dateDeparture);
}
